package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminInvoiceDetail;
import com.ygqh.baby.po.AdminInvoiceDetailExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.List;

import org.apache.ibatis.annotations.Param;
public interface AdminInvoiceDetailMapper {
    int countByExample(AdminInvoiceDetailExample example);

    int deleteByExample(AdminInvoiceDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminInvoiceDetail record);

    int insertSelective(AdminInvoiceDetail record);

    List<AdminInvoiceDetail> selectByExample(AdminInvoiceDetailExample example);

    AdminInvoiceDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminInvoiceDetail record, @Param("example") AdminInvoiceDetailExample example);

    int updateByExample(@Param("record") AdminInvoiceDetail record, @Param("example") AdminInvoiceDetailExample example);

    int updateByPrimaryKeySelective(AdminInvoiceDetail record);

    int updateByPrimaryKey(AdminInvoiceDetail record);
    
    int countSuper(@Param ("q") String q);
    
    List<AdminInvoiceDetail> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);

	void saveBatch(@Param ("id")Long id,@Param("adminInvoiceDetails") List<AdminInvoiceDetail> adminInvoiceDetails);
    
}



